import React, { useEffect } from 'react'
import { newsDetail } from '../service'

export default function NewsBetails() {
  useEffect(()=>{
    (async()=>{
      let data=await newsDetail(1)
      console.log(data);
    })()
  },[])
  return (
    <div>NewsBetails</div>
  )
}
